package model;

import java.io.Serializable;

public class Occurrence implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private Sensor sensor;
	private Car car;
	private String date;
	private String place;
	
	public Occurrence(Sensor sensor, Car car, String date, String place) {
		this.sensor = sensor;
		this.car = car;
		this.date = date;
		this.place = place;
	}

	public Sensor getSensor() {
		return sensor;
	}

	public void setSensor(Sensor sensor) {
		this.sensor = sensor;
	}	
	
	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}
}
